package abstractdemo;

public class TechDepartment extends Department{
    public TechDepartment(String name,int numOfMenbers){
        super.name = name;
        super.numOfMenbers = numOfMenbers;
    }

    @Override
    public void work() {
        System.out.println(super.name + "负责技术研发、软件开发和系统维护等，" +"部门有" + super.numOfMenbers + "人。");
    }
}
